package com.gqz.equip.mapstruct;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gqz.equip.entity.TEnWzCrkOrderEquipEntity;
import com.gqz.equip.vo.TEnWzCrkOrderEquipVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @ClassName TEnWzCrkOrderEquipMapstruct
 * @Description 新能源-物资-出入库工单设备表
 * @Date 2022-10-27 16:18:48
 * @Version 1.0
 * @Author input you name
 */
@Mapper(componentModel = "spring", imports = {})
@Component
public interface TEnWzCrkOrderEquipMapstruct {

    @Mapping(target = "yxztmc", ignore = true)
    @Mapping(target = "yxzt", ignore = true)
    @Mapping(target = "xh", ignore = true)
    @Mapping(target = "wzlbmc", ignore = true)
    @Mapping(target = "wzlbbm", ignore = true)
    @Mapping(target = "tyrq", ignore = true)
    @Mapping(target = "ssnyzmc", ignore = true)
    @Mapping(target = "ssnyzbm", ignore = true)
    @Mapping(target = "sskfmc", ignore = true)
    @Mapping(target = "sskfbm", ignore = true)
    @Mapping(target = "sftq", ignore = true)
    @Mapping(target = "sfjc", ignore = true)
    @Mapping(target = "sbztmc", ignore = true)
    @Mapping(target = "sbztbm", ignore = true)
    @Mapping(target = "sbztOldmc", ignore = true)
    @Mapping(target = "sbztOld", ignore = true)
    @Mapping(target = "sbzp", ignore = true)
    @Mapping(target = "sbzb", ignore = true)
    @Mapping(target = "sbmc", ignore = true)
    @Mapping(target = "sblxmc", ignore = true)
    @Mapping(target = "sblxbm", ignore = true)
    @Mapping(target = "sbgg", ignore = true)
    @Mapping(target = "sbdz", ignore = true)
    @Mapping(target = "pt", ignore = true)
    @Mapping(target = "jlfsmc", ignore = true)
    @Mapping(target = "jlfsbm", ignore = true)
    @Mapping(target = "gldwmc", ignore = true)
    @Mapping(target = "gldwbm", ignore = true)
    @Mapping(target = "ewm", ignore = true)
    @Mapping(target = "ct", ignore = true)
    @Mapping(target = "cjtime", ignore = true)
    @Mapping(target = "cjr", ignore = true)
    @Mapping(target = "cjmc", ignore = true)
    @Mapping(target = "ccrq", ignore = true)
    @Mapping(target = "ccbm", ignore = true)
    TEnWzCrkOrderEquipVo toVo(TEnWzCrkOrderEquipEntity entity);

    List<TEnWzCrkOrderEquipVo> toVos(List<TEnWzCrkOrderEquipEntity> entity);

    @Mapping(target = "optimizeJoinOfCountSql", ignore = true)
    Page<TEnWzCrkOrderEquipVo> toVos(Page<TEnWzCrkOrderEquipEntity> entity);

    TEnWzCrkOrderEquipEntity toEntity(TEnWzCrkOrderEquipVo vo);

    List<TEnWzCrkOrderEquipEntity> toEntitys(List<TEnWzCrkOrderEquipVo> vos);

}
